<?php
// ====================================

// Author:            韩孝龙
// Email:             18301805881@163.com
// Created Time:      2020-11-05 22:15:28
// Description:       db配置信息

// ====================================

class conDb {
    // mysql连接配置
    const mysql_dsn = 'mysql:dbname=hxl_game;host=127.0.0.1';
    const mysql_user = 'root';
    const mysql_password = 'toor';

    // redis连接配置
    const redis_ip = '127.0.0.1';
    const redis_port = 6379;
    const redis_pass = '';

    const default_redis_expire_time = 604800; // redis键默认过期时间: 7天
}
